package com.base.user.entity;

import com.mysteel.core.Entity;


public class Employee implements Entity
{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8315229556967775494L;

	private long id;				//主键Id
	
	private long superiorId;		//上级Id
	private String name;			//姓名
	private String enName ;			//英文名字
	private int age;				//年龄
	private String gender;			//性别
	private String mobile;			//电话
	private String phone;			//手机号
	private String email;			//邮箱
	
	private long createTime;		//创建时间
	private long lastAccess;		//最后使用时间
	
	private boolean status;			//状态
	
	private String companyName;		//公司名
	private long departmentId;		//部门ID
	private boolean isAdmin;		//是否是管理员
	
	public Employee()
	{
		super ();
	}
	
	public Employee(long id, long superiorId, String name, int age,
			String gender, String mobile, String phone, String email,
			long createTime, long lastAccess, boolean status,
			String companyName, long departmentId,boolean isAdmin,String enName)
	{
		super ();
		this.id = id;
		this.superiorId = superiorId;
		this.name = name;
		this.age = age;
		this.gender = gender;
		this.mobile = mobile;
		this.phone = phone;
		this.email = email;
		this.createTime = createTime;
		this.lastAccess = lastAccess;
		this.status = status;
		this.companyName = companyName;
		this.departmentId = departmentId;
		this.isAdmin = isAdmin;
		this.enName = enName;
	}
	
	
	
	public boolean isIsAdmin()
	{
		return isAdmin;
	}

	public void setAdmin(boolean isAdmin)
	{
		this.isAdmin = isAdmin;
	}

	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}
	

	public String getEnName()
	{
		return enName;
	}

	public void setEnName(String enName)
	{
		this.enName = enName;
	}

	public long getId()
	{
		return id;
	}
	public void setId(long id)
	{
		this.id = id;
	}
	public long getSuperiorId()
	{
		return superiorId;
	}
	public void setSuperiorId(long superiorId)
	{
		this.superiorId = superiorId;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public int getAge()
	{
		return age;
	}
	public void setAge(int age)
	{
		this.age = age;
	}
	public String getGender()
	{
		return gender;
	}
	public void setGender(String gender)
	{
		this.gender = gender;
	}
	public String getMobile()
	{
		return mobile;
	}
	public void setMobile(String mobile)
	{
		this.mobile = mobile;
	}
	public String getPhone()
	{
		return phone;
	}
	public void setPhone(String phone)
	{
		this.phone = phone;
	}
	public String getEmail()
	{
		return email;
	}
	public void setEmail(String email)
	{
		this.email = email;
	}
	public long getCreateTime()
	{
		return createTime;
	}
	public void setCreateTime(long createTime)
	{
		this.createTime = createTime;
	}
	public long getLastAccess()
	{
		return lastAccess;
	}
	public void setLastAccess(long lastAccess)
	{
		this.lastAccess = lastAccess;
	}
	public boolean isStatus()
	{
		return status;
	}
	public void setStatus(boolean status)
	{
		this.status = status;
	}
	public String getCompanyName()
	{
		return companyName;
	}
	public void setCompanyName(String companyName)
	{
		this.companyName = companyName;
	}
	public long getDepartmentId()
	{
		return departmentId;
	}
	public void setDepartmentId(long departmentId)
	{
		this.departmentId = departmentId;
	}

}
